﻿using System;
using System.Collections.Generic;
using MediaSage.Lib.Utilities;
using NHibernate;

namespace MediaSage.Lib.Database.Entities.Client
{
    public class ClientConfigEntity : DatabaseObject
    {
        protected Object lockObject;

        public virtual Guid ID { get; protected set; }

        public virtual int LogLevel { get; set; }

        public virtual int PopupLogLevel { get; set; }

        public virtual string LogFile { get; set; }

        public virtual ThemeEntity ActiveTheme { get; set; }

        public virtual IList<ThemeEntity> Themes { get; set; }

        public virtual string ThemeDirectory { get; set; }        

        public ClientConfigEntity()
        {
            Themes = new List<ThemeEntity>();
        }

        public virtual void Delete()
        {
            base.Delete();            
        }

        public virtual void Save()
        {
            base.Save();
        }

        public virtual void SaveOrUpdate()
        {
            base.SaveOrUpdate();
        }
    }
}